package com.bupt.bean;

import lombok.Data;
import lombok.ToString;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.sql.Timestamp;

@Data
@ToString
@Entity
@Table(name = "message_mgt_t", schema = "dev", catalog = "")
public class MessageMgt {

    @Id
    private Integer messageMgtId;

    private Integer deviceId;

    private String  deviceIp;


    private int msgType;

    private String msgBody;

    private int state;

    private int repeatNum;

    private Timestamp createTime;

    private Timestamp sendTime;

    private Timestamp receiveTime;

}
